from django.db import models
from django.utils.translation import gettext_lazy as _

class TimetableEntry(models.Model):
    name = models.CharField(max_length=100)
    modality = models.CharField(max_length=100)
    additional_modalities = models.CharField(max_length=200, blank=True, null=True)
    shift_start = models.TimeField()
    shift_end = models.TimeField()
    break_time = models.IntegerField()
    worked_hours = models.IntegerField()

    class Meta:
        verbose_name = _('Табель')
        verbose_name_plural = _('Табеля')